.order_new {
  height: 88vh;
  overflow: auto;
  &::-webkit-scrollbar {
    display: none;
  }
  // header
  .top_app {
    margin: 0;
    position: sticky;
    top: 0;
    left: 12px;
    right: 12px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #f3efef;
    z-index: 9;
    padding: 12px 0;
    background-color: rgb(240, 242, 245);
    .create_order {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #fff;
      height: 100%;
      padding: 12px;
      // border-radius: 4px;

      .title {
        font-size: 18px;
        color: #383838;
        padding-left: 6px;
      }

      .cancel_btn,
      .submit_btn {
        padding: 0 14px;
      }
    }
  }

  // 工单信息
  .serve_message {
    margin: 0px 12px 0 12px;
    display: flex;
    gap: 12px;
    // box-shadow: 0 0 3px rgba(#000, 0.2);

    .title {
      font-size: 14px;
      border-left: 3px solid $primaryColor;
      color: #383838;
      padding-left: 6px;
    }

    .order_basic {
      background-color: #fff;
      border-radius: 0px;
      box-sizing: border-box;
      padding: 12px;
      flex: 1;

      .oard_form {
        .select_factory {
          :deep(.el-select__wrapper) {
            width: 14vw;
          }
        }
      }
    }

    .form-control {
      width: 100%;
      color: #495057;
      font-size: 12px;
    }

    :deep(.el-textarea__inner) {
      max-height: 500px;
    }

    .right_addition {
      margin-left: 10px;

      .sy_fen {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .title_c {
          color: #fb9337;
        }
      }
    }

    .right_aside {
      width: 26vw;
      background-color: #fff;
      box-sizing: border-box;
      padding: 12px;
      // border-radius: 4px;

      .oard_form {
        margin-top: 10px;
        overflow-y: auto;
        max-height: 480px;
      }

      .oard_form_ {
        :deep(.el-radio__label) {
          font-size: 12px;
        }

        :deep(.el-textarea__inner) {
          font-size: 12px;
        }

        :deep(.el-checkbox__label) {
          font-size: 12px;
        }

        .ul_list {
          display: block !important;

          .li_item {
            width: auto !important;
          }
        }
      }
    }

    .upload_file {
      width: 100%;

      :deep(.el-upload-dragger) {
        padding: 0;
        font-size: 12px;
        height: 40px;
        line-height: 10px !important;
        color: #999;
      }

      .up_icon {
        color: #ccc;
        font-size: 24px;
      }

      .ul_list {
        display: flex;
        max-height: 230px;
        overflow-y: auto;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 10px;
        padding: 0 6px;

        .li_item {
          display: flex;
          justify-content: space-between;
          align-items: center;
          border: 1px solid #e4e7ed;
          padding: 4px 10px;
          width: calc(50% - 40px);
          color: #999;
          font-size: 12px;
          margin-top: 10px;
          padding-right: 10px;
          border-radius: 2px;

          .li_item_left {
            display: flex;
            align-items: center;
            width: calc(100% - 15px);

            .pic_name {
              padding-left: 10px;
              color: #000;
              margin-right: 5px;
              text-overflow: ellipsis;
              white-space: nowrap;
              width: 70%;
              overflow: hidden;
            }
          }
        }
      }
    }
  }

  // 客户信息
  .basic_order {
    background-color: #fff;
    margin: 12px 12px 0 12px;
    box-sizing: border-box;
    padding: 12px;
    // border-radius: 4px;
    // box-shadow: 0 0 3px rgba(#000, 0.2);

    :deep(.el-form-item) {
      margin-bottom: 15px;
    }

    .title {
      font-size: 14px;
      border-left: 3px solid $primaryColor;
      color: #383838;
      padding-left: 6px;
    }

    .userinfo {
      display: flex;
      gap: 60px;

      .address_identify {
        .address_identify_content {
          display: flex;
          gap: 10px;

          .textarea {
            width: 300px;
          }

          .btn {
            padding: 0 10px;
            border-color: rgba($primaryColor, 0.8);
            color: rgba($primaryColor, 0.8);
            // border-radius: 4px;

            &:hover {
              border-color: $primaryColor;
              color: #fff;
              background-color: $primaryColor;
            }
          }
        }
      }

      .customer_name,
      .customer_phone {
        width: 240px;
      }

      .detail_address,
      .customer_address {
        width: 100%;
      }

      :deep(.el-form-item__content) {
        max-width: 700px;
      }
    }
  }

  //商品信息
  .good_info {
    background-color: #fff;
    margin: 12px 12px 0 12px;
    padding: 12px;
    // border-radius: 4px;
    // box-shadow: 0 0 3px rgba(#000, 0.2);

    .code_message {
      .title {
        font-size: 14px;
        border-left: 3px solid $primaryColor;
        color: #383838;
        padding-left: 6px;
      }

      .add_btn_container {
        margin: 12px 0;
        display: flex;
        justify-content: flex-end;

        .add_btn {
          padding: 0 10px;
          border-color: rgba($primaryColor, 0.8);
          color: rgba($primaryColor, 0.8);

          &:hover {
            background-color: $primaryColor;
            color: #fff;
            border-color: $primaryColor;
          }
        }
      }

      .order_basic {
        background-color: #fff;
        border-radius: 0px;
        display: flex;
        // align-items: center;
        justify-content: space-between;
      }

      .table-code {
        margin-left: 10px;
        margin-bottom: 20px;
        margin-top: 20px;

        :deep(.el-form-item__label) {
          color: #000;
          font-size: 12px;
        }

        :deep(.date-scle) {
          width: 100%;
        }

        :deep(.el-table__row) {
          &:hover {
            .add_delete {
              display: block;
              cursor: pointer;
            }

            .order {
              display: none;
            }
          }
        }

        .order {
          display: block;
        }

        .add_delete {
          display: none;

          .add {
            padding-right: 10px;
          }
        }

        .multiple_code {
          color: #00c0c0;
          text-decoration: underline;
          cursor: pointer;
        }

        :deep(.el-table) {
          .cell {
            text-align: center;
            font-size: 12px;
          }

          th.el-table__cell + th.el-table__cell {
            .cell {
              box-sizing: border-box;
              border: 1px solid transparent;
              border-left: 1px solid #e7e3e3;
            }
          }
        }

        :deep(.el-table--border .el-table__cell) {
          border-right: none;
        }
      }

      .addbtn {
        margin-bottom: 10px;
        margin-left: 10px;
        margin-top: 8px;
      }
    }
  }
}

.pic {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  // margin-left: 4px;
}

:deep(.el-form-item--default) {
  --font-size: 12px;
}

.app-container {
  padding: 0 12px;
  padding-top: 10px;
}

.mar_r {
  margin-top: 10px;
  margin-right: 20px;
}

.oard_form {
  margin-top: 20px;
  padding: 0 5px;
}

:deep(.el-form-item) {
  margin-bottom: 16px;
}

:deep(.el-select) {
  width: 100%;
  max-width: 220px;
}

:deep(.el-main) {
  --el-main-padding: 0;
}

:deep(.code-dialog) {
  border-bottom: 1px solid rgb(228, 231, 237);

  .el-dialog__body {
    padding: 0;
  }

  .header {
    display: flex;
    justify-content: flex-end;

    .w120 {
      width: 120px;
      margin-right: 5px;
    }

    .el-date-editor {
      width: 250px;
      margin-right: 10px;
    }

    .input-with-select {
      width: 180px;
      margin-right: 8px;
    }

    .mr_5 {
      margin-right: 5px;
    }

    .el-button + .el-button {
      margin-left: 8px;
    }

    .input-with-select_w {
      width: 250px;
      margin-left: 8px;
    }

    .w100 {
      width: 100px;
    }
  }

  .el-dialog__footer {
    border-top: 1px solid #e4e7ed;
    padding: 10px 20px;
  }

  .table-reg {
    width: 100%;
    margin: 10px 0;
    height: 486px;
  }

  .footer {
    padding: 10px 0;
    position: absolute;
    margin-bottom: 0;
    bottom: 0;
    z-index: 999;
  }
}

:deep(.demo-tabs) {
  .el-table {
    .cell {
      text-align: center;
      font-size: 12px;
    }

    th.el-table__cell + th.el-table__cell {
      .cell {
        border-left: 1px solid #e7e3e3;
      }
    }
  }

  .el-table--border .el-table__cell {
    border-right: none;
  }

  .el-tabs__header {
    margin: 0;
  }

  .el-tabs__item {
    margin: 0 20px;
  }

  .el-tabs__nav-wrap::after {
    height: 1px;
  }

  .el-tabs__nav .el-tabs__active-bar {
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    left: -10px;
  }

  .main_left {
    border: 1px solid #e4e7ed;
    // border-bottom: none;
    border-radius: 2px;
    position: relative;
    height: calc(100% - 2px);

    .titile_h4 {
      border-bottom: 1px solid #e4e7ed;
      height: 40px;
      line-height: 40px;
      padding: 0 20px;
    }

    .ul_pop_up {
      padding: 0 30px 30px;

      .li_pop_up {
        padding: 5px 0;
        cursor: pointer;
        font-size: 12px;

        &:hover {
          color: #999;
        }
      }
    }

    .page_pages {
      width: 100%;
      overflow-x: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      bottom: 0;
    }

    .btn_save {
      width: 50px;
      height: 30px;
      border-radius: 2px;
    }

    .btn_cancel {
      width: 50px;
      height: 30px;
      border-radius: 2px;

      &:hover {
        border: 1px solid #e5e5e5;
        color: #999;
        background-color: #e5e5e5;
      }
    }
  }

  .main_right {
    padding: 12px 20px;
    height: calc(100% - 26px);
    border: 1px solid #e4e7ed;
    border-left: none;
  }
}
